Intro
Actions for controlling media playback
With the web media package you can play sounds in your toddle app or control video playback.
Demo
Actions
PlayMedia
Play the media of a give audio or video element
Arguments
element HTML Media Element or an id PauseMedia
Pause the media of a give audio or video element
Arguments
element HTML Media Element or an id LoadMedia
resets the media element to its initial state and begins the process of selecting a media source and loading the media in preparation for playback to begin at the beginning.
Arguments
element HTML Media Element or an id SetCurrentTime
Set the current time of the media element
Arguments
element HTML Media Element or an id time Time in seconds PlayAudio
Play one or more audio sources using the Web Audio API
Arguments
url URL or array of URLs